package com.example.video;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.lang.management.ManagementFactory;
import java.lang.management.OperatingSystemMXBean;
import java.lang.management.ThreadMXBean;
import java.util.TimeZone;

@SpringBootApplication
@MapperScan("com.example.video.mapper")
public class VideoApplication {
    public static void main(String[] args) {
        //修改jvm时间
        TimeZone tz = TimeZone.getTimeZone("Etc/GMT-8");
        TimeZone.setDefault(tz);
        SpringApplication.run(VideoApplication.class, args);
    }
}
